import Vue from 'vue'
import router from 'vue-router'
import Index from '../pages/index/index'
import Menu from '../pages/menu/menu'
Vue.use(router)

export default new router ({
    routes:[
        {
            path:'/',
            name:'index',
            component:Index
        },{
            path:'/menu',
            name:'menu',
            component:Menu
        }
    ]
})
